#pragma once

#include "mousetool.h"

class BMPDropperTool : public MouseTool
{
public:
	static const char * NAME;
	const char * getName();
	BMPDropperTool(void * a_context):MouseTool(a_context)
	{m_tool.setDimension(SPoint(1,1));getButton()->setToggleable(true);}
	virtual void draw(SDL_Surface * a_surface);
	/** called when the mouse is pressed */
	virtual bool pressedTool(const int & a_mouseButton);
	/** called as the mouse is dragged */
	virtual bool draggedTool(const int & a_mouseButton);
	/** called when the mouse is released */
	virtual bool releasedTool(const int & a_mouseButton);
};